package com.a918.service;

import com.a918.dto.BwgData;
import com.a918.dto.PublishData;
import com.a918.dto.UnionData;
import com.a918.entity.Content;
import com.a918.entity.FrontFcCheck;
import com.a918.entity.FrontMember;
import com.a918.entity.FrontUnion;
import com.github.pagehelper.PageInfo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface BackContentService {

    void delFrontFcCheckByIdType(Integer id, String type);

    Content getBackContentById(Integer id);

    void insertBackContent(Content backContent);

    void updateBackContent(Content backContent);

    void deleteById(Integer id);

    void deleteFrontUnionById(Integer id);

    PageInfo<BwgData> selectMuseumList(@RequestParam Map<String, String> paramMap, String status);

    List<Content> selectContentWithNoCover();

    PageInfo<PublishData> getContentlist(Map<String, String> paramMap);

    PageInfo<UnionData> selectUnionList(@RequestParam Map<String, String> paramMap, String status);

    FrontMember getFrontMemberById(Integer id);

    void updateFrontMember(FrontMember frontMember);

    FrontUnion getFrontUnionById(Integer id);

    void updateFrontUnion(FrontUnion frontUnion);

    void insertFrontFcCheck(FrontFcCheck frontFcCheck);

    FrontFcCheck getFrontFcCheckByIdType(Integer id, String type);

}
